import request from '@/utils/request'

/**
 * 订单 列表
 * @param prams
 */
export function orderListApi(params) {
  return request({
    url: '/admin/mszs/mszsOrder/pageList',
    method: 'get',
    params
  })
}

/**
 * 订单 详情
 * @param prams
 */
export function orderDetailApi(params) {
  return request({
    url: '/admin/mszs/mszsOrder/load',
    method: 'get',
    params
  })
}

/**
 * 订单 编辑
 * @param prams
 */
export function orderUpdateApi(params) {
  return request({
    url: '/admin/mszs/mszsOrder/update',
    method: 'post',
    data:params
  })
}
/**
 * 订单 删除
 * @param params
 */
export function orderDeleteApi(params) {
  return request({
    url: '/admin/mszs/mszsOrder/delete',
    method: 'get',
    params
  })
}

/**
 * 订单 查询
 * @param id
 */
export function getOrderByIdApi(params) {
  return request({
    url: '/admin/mszs/mszsOrder/load',
    method: 'get',
    params
  })
}









